import request from '@/utils/request'

export function showRuleList(query) {
  return request({
    url: '/rules/settings/show',
    method: 'get',
    params: query
  })
}

export function saveRule(data) {
  return request({
    url: '/rules/settings/save',
    method: 'post',
    data
  })
}
